﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Telecom.Data;

namespace TelecomGis.Models
{
    public class UserModel
    {
        public class USERVM
        {
            public USERS _entityUser { get; set; }
            public string PassNew { get; set; }
            public string listArrryDonviId { get; set; }
            public string listArrryToQLiId { get; set; }
            public bool Active { get; set; }
            //public List<DonViOnUser> _DonViOnUser { get; set; }
            public List<RolesOnUser> _RolesOnUser { get; set; }
            public List<QUYENGTOnUser> _QUYENHTOnUser { get; set; }
            public List<LoaiSiteOnUser> _LoaiSiteOnUser { get; set; }
            public USERVM()
            {
                _entityUser = new USERS();
                //_DonViOnUser = new List<DonViOnUser>();
                _RolesOnUser = new List<RolesOnUser>();
                _QUYENHTOnUser = new List<QUYENGTOnUser>();
                _LoaiSiteOnUser = new List<LoaiSiteOnUser>();
            }

        }

        public class DonViOnUser
        {
            public string Id { get; set; }
            public string Name { get; set; }
            public bool Checkbox { get; set; }
        }

        public class RolesOnUser
        {
            public decimal Id { get; set; }
            public string Name { get; set; }
            public bool Checkbox { get; set; }
        }

        public class QUYENGTOnUser
        {
            public decimal Id { get; set; }
            public string Name { get; set; }
            public bool Checkbox { get; set; }
        }

        public class LoaiSiteOnUser
        {
            public string Id { get; set; }
            public string Name { get; set; }
            public bool Checkbox { get; set; }
        }
    }
}